package com.example.orderflow.entity.po;

import com.fasterxml.jackson.annotation.JsonIgnore;
import java.io.Serializable;


/**
 * 
 */
public class UserInfo implements Serializable {


	/**
	 * 用户id
	 */
	private Integer userId;

	/**
	 * 用户名
	 */
	private String userName;

	/**
	 * 密码
	 */
	private String password;

	/**
	 * 角色名
	 */
	private String roleName;

	/**
	 * 所属部门
	 */
	private String department;


	public void setUserId(Integer userId){
		this.userId = userId;
	}

	public Integer getUserId(){
		return this.userId;
	}

	public void setUserName(String userName){
		this.userName = userName;
	}

	public String getUserName(){
		return this.userName;
	}

	public void setPassword(String password){
		this.password = password;
	}

	public String getPassword(){
		return this.password;
	}

	public void setRoleName(String roleName){
		this.roleName = roleName;
	}

	public String getRoleName(){
		return this.roleName;
	}

	public void setDepartment(String department){
		this.department = department;
	}

	public String getDepartment(){
		return this.department;
	}

	@Override
	public String toString (){
		return "用户id:"+(userId == null ? "空" : userId)+"，用户名:"+(userName == null ? "空" : userName)+"，密码:"+(password == null ? "空" : password)+"，角色名:"+(roleName == null ? "空" : roleName)+"，所属部门:"+(department == null ? "空" : department);
	}
}
